﻿<%@ page language="C#" autoeventwireup="true" inherits="Admin_CShow, App_Web_cshow.aspx.fdf7a39c" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>佣金报表</title>
    <link href="../css/main-admin.css" rel="stylesheet" type="text/css" />

    <script src="../Jscript/jquery-1.3.2.min.js" type="text/javascript"></script>

</head>
<body>
    <form id="form1" runat="server">
    <div class="body-frame">
        <!-- header begin here -->
        <div class="header-panel">
            <div class="logo-header">
                <a href="index.html">
                    <img src="../images/logo.jpg" alt="UPEX联合快递" width="67" height="79" border="0" /></a></div>
            <div class="logo-right-header">
                <div class="slog">
                    <img src="../images/slog.gif" alt="UPEX联合快递" width="218" height="57" />
                </div>
                <div class="header-corner">
                    Http://www.us2cn.net<br />
                    2570 Corporate Place. #E103, Monterey Park, CA 91754<br />
                    Email: info@upexusa.net &nbsp; &nbsp; Phone: 1-888-869-0979
                </div>
                <div class="header-bar">
                </div>
            </div>
        </div>
        <!-- header end here -->
        <!-- body begin here -->
        <div style="margin: 10px auto; width: 1000px; height: 90px;">
            <div style="border: 1px solid #666; width: 984px; height: 60px; float: left; padding: 15px 0px 0px 15px;
                line-height: 24px;">
                <div style="width: 250px; float: left; margin-right: 20px;">
                    <b style="font-size: 14px;">佣金提成发给：</b><br />
                <asp:Label ID="username" runat="server"></asp:Label>
                </div>
                <div style="width: 250px; float: left; margin-right: 20px;">
                    <b style="font-size: 14px;">佣金提成周期：</b><br />
                    <%=Request.QueryString["Y"].ToString() %>
                    年<%=Request.QueryString["M"].ToString() %>
                    月
                </div>
                <div style="width: 250px; float: left; margin-right: 20px;">
                    <b style="font-size: 14px;">佣金提成总额：</b><br />
                    $<%=  Convert.ToDecimal(Request.QueryString["All"].ToString()).ToString("0.00")%>
                </div>
            </div>
        </div>
        <div class="body-panel-detail">
            <div class="trans-search-title">
                <div class="comm-report-no padleft5">
                    客户帐号</div>
                <div class="comm-report-name">
                    客户姓名</div>
                <div class="comm-report-percent">
                    提成比例</div>
                <div class="comm-report-date">
                    付款日期</div>
                <div class="comm-report-amount">
                    付款总额
                </div>
                <div class="comm-report-comm">
                    佣金提成</div>
            </div>
            <asp:Repeater ID="paylist" runat="server">
                <ItemTemplate>
                    <%# ((Container.ItemIndex + 1) % 2) == 0 ? "<div    class='trans-search-line result-bg'>" : "<div    class='trans-search-line'>"%>
                    <div class="comm-report-no padleft5">
                        <%#Eval("AccountNo")%>
                    </div>
                    <div class="comm-report-name">
                        <%#Eval("TrueName")%></div>
                    <div class="comm-report-percent">
                        <%#Eval("SalesRate")%>%</div>
                    <div class="comm-report-date">
                        <%#DateTime.Parse(Eval("PayDate").ToString()).ToLongDateString() %></div>
                    <div class="comm-report-amount">
                        $<%#Eval("PayAll")%></div>
                    <div class="comm-report-comm">
                        $<%# Convert.ToDecimal( Eval("Sales").ToString()).ToString("0.00")%></div>
                    </div>
                </ItemTemplate>
            </asp:Repeater>
        </div>
    </form>
</body>
</html>
